<%@ taglib prefix="nls" uri="http://www.vacoor.com/el/nls/functions" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/view/include/taglibs.jspf" %>
<%--
  ~ Copyright (c) 2005, 2014 vacoor
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  --%>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="${ctx}/css/admin.css"/>
</head>
<body>
<c:set var="lang" value="${empty param.lang ? 'ja': param.lang}" />
<div class="formHeader"> <span class="title">${nls:t('添加定时作业')}</span> <a href="javascript:location.reload();" class="reload">${nls:t('刷新')}</a> </div>
<form name="form" id="form" method="post" action="create" onsubmit="/*return cfm_admin();*/">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable">
        <tbody><tr>
            <td width="25%" height="40" align="right">${nls:t('作业名称')}：</td>
            <td width="75%">
                <input type="text" name="name" class="input" id="name">
                <span class="maroon">*</span><span class="cnote">带<span class="maroon">*</span>号表示为必填项</span>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">${nls:t('描述')}：</td>
            <td>
                <input type="text" name="desc" class="input" id="desc">
                <span class="maroon">*</span><span class="cnote">${nls:t('6-16个字符组成，区分大小写')}</span>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">${nls:t('目标')}：</td>
            <td>
                <input type="target" name="target" class="input" id="target">
                <span class="maroon">*</span><span class="cnote">@fullQualifierName@staticMethodName / #[beanName][!fullQualifierName].instanceMethodName</span>
            </td>
        </tr>
        <tr>
            <td height="40" align="right">${nls:t('Cron表达式')}：</td>
            <td>
                <input type="text" name="cron" class="input" id="cron">
                <span class="maroon">*</span><span class="cnote">秒 分 时 日 月 周 年</span>
            </td>
        </tr>
        <tr class="nb">
            <td height="40" align="right">${nls:t('并发执行')}：</td>
            <td>
                <input type="radio" name="concurrent" value="true" checked="checked"> 允许&nbsp;
                <input type="radio" name="concurrent" value="false"> 不允许
            </td>
        </tr>
        </tbody></table>
    <div class="formSubBtn">
        <input type="submit" class="submit" value="提交">
        <input type="button" class="back" value="返回" onclick="history.go(-1);">
        <input type="hidden" name="action" id="action" value="add">
    </div>
</form>
</body>
</html>
